package com.city.domain.house;

import javax.persistence.Entity;


public class townwithdata {
    private String townId;
    private String townName;
    private Integer isrent;
    private Integer norent;
    private double avg;


    public Integer getIsrent() {
        return isrent;
    }

    public void setIsrent(Integer isrent) {
        this.isrent = isrent;
    }

    public Integer getNorent() {
        return norent;
    }

    public void setNorent(Integer norent) {
        this.norent = norent;
    }

    public townwithdata(String townId, String townName, Integer isrent, Integer norent, double avg) {
        this.townId = townId;
        this.townName = townName;
        this.isrent = isrent;
        this.norent = norent;
        this.avg = avg;
    }

    public double getAvg() {
        return avg;
    }

    public void setAvg(double avg) {
        this.avg = avg;
    }




    public String getTownName() {
        return townName;
    }

    public void setTownName(String townName) {
        this.townName = townName;
    }



    public String  getTownId() {
        return townId;
    }

    public void setTownId(String townId) {
        this.townId = townId;
    }




}
